package org.example.csv;

import org.example.model.LongStringResult;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

public class OutCSVData {

    private final List<LongStringResult> outLines = new ArrayList<>();

    public List<LongStringResult> getOutLines() {
        return outLines;
    }

    public OutCSVData() {
    }

    public void addLine(LongStringResult result) {
        this.outLines.add(result);
    }

    public void sortLines() {
        Collections.sort(this.outLines);
    }
}
